package com.wkbb.common.dto.basic;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ClassInfoDto {
    @ApiModelProperty(value = "入学年份")
    private Integer enrollmentYear;

    @ApiModelProperty(value = "编号")
    private Long id;

    @ApiModelProperty(value = "班级类型")
    private Byte classType;

    @ApiModelProperty(value = "学生列表")
    private String studentIds;

    @ApiModelProperty(value = "班级邀请码")
    private String inviteCode;

    @ApiModelProperty(value = "学校ID")
    private Long orgId;

    @ApiModelProperty(value = "学校名称")
    private String orgName;

    @ApiModelProperty(value = "年级ID")
    private Long gradeId;

    @ApiModelProperty(value = "年级名称")
    private String gradeName;

    @ApiModelProperty(value = "班级名称")
    private String className;

    @ApiModelProperty(value = "班主任ID")
    private Long masterId;

    @ApiModelProperty(value = "班主任名称")
    private String masterName;

    @ApiModelProperty(value = "班主任电话")
    private String masterPhone;

    /**
     * 开始时间
     */
    @ApiModelProperty(value = "开始时间")
    @JSONField(format = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date dateBegin;

    /**
     * 结束时间
     */
    @ApiModelProperty(value = "结束时间")
    @JSONField(format = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date dateEnd;

    /**
     * 班级特色
     */
    @ApiModelProperty(value = "班级特色")
    private String feature;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

    private Long oldClassId;

    /**
     * 智慧校园班级ID
     */
    @ApiModelProperty(value = "智慧校园班级ID")
    private String smartClassId;

    @ApiModelProperty(value = "原班主任ID")
    private Long oriMasterId;

}
